/*

Theme Name: My

*/

/* Переменные */
:root {
  --text-dark: #222;
  --text-light: #fff;
  --text-accent: #298360;
  --text-danger: #f00;
  --text-small: #aaa;
}
.hidden-element {
  display: none !important;
}

table.cart td.product-quantity .qty {
  padding: 0.326em;
  width: 3.706325903em;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
.input-text {
  padding: 0.6180469716em;
  background-color: #f2f2f2;
  color: #43454b;
  border: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
}
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget a.button {
  background-color: rgb(216, 215, 215);
  border-color: #eeeeee;
  color: #333333;
}
input.input-text {
  width: 150%;
}
table.shop_table {
  width: 70%;
  margin: auto;
  border-spacing: 0;
  border-radius: 10px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid white;
  background-color: #b0aeaebf;
}

.shop_table a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 768px) {
  td.product-remove {
    background-color: #797676bf;
  }
}

table.shop_table th,
table.shop_table td {
  line-height: 1.5;
  border: 1px solid #ddd; /* Границы между ячейками */
  padding: 8px;
}

.woocommerce-products-header,
woocommerce-breadcrumb {
  width: 30%;
  margin-left: 20px;
}
#sidebar {
  display: none;
}
body
  > div.advantages-cards
  > div.popular
  > div
  > div.woocommerce.columns-3
  > ul
  .product,
#main .product {
  float: left;

  border-radius: 10px;
  padding: 10px;
  background-color: whitesmoke;
}
body
  > div.advantages-cards
  > div.popular
  > div
  > div.woocommerce.columns-3
  > ul,
#main ul {
  display: table;
  margin: 0 auto;
}
/* Общие */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  background-color: rgb(216, 215, 215);
  color: var(--text-main);
}

input,
textarea {
  font-family: sans-serif;
}

/* Сетка */
.container {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.row {
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.33%;
}

.col-6 {
  width: 50%;
}

.col-9 {
  width: 75%;
}

.col-12 {
  width: 100%;
}

/* Меню */
.menu {
  background-size: cover;
  padding: 15px 0;
}
.menu ul {
  background-color: #7f79797e;

  padding: 15px 15px;
  border-radius: 50% 20% / 10% 40%;
}

.menu .row > ul {
  display: flex;
  list-style: none;
  text-transform: uppercase;
}

.menu .row > ul > li {
  position: relative;
}

.menu .row > ul a.active:hover + ul,
.menu .row > ul ul:hover {
  opacity: 1;
  visibility: visible;
}

.menu .row > ul ul {
  transition: 0.2s;
  opacity: 0;
  visibility: hidden;
  border: 1px solid #eee;
  position: absolute;
  top: 30px;
  width: 280px;
  padding-left: 0;
  list-style: none;
  background-color: #fff;
}

.menu .row > ul ul li {
  padding: 15px;
}

.menu .row > ul > li a {
  color: var(--text-main);
  text-decoration: none;
  margin-right: 15px;
}

.menu .row > ul > li a:hover {
  color: var(--text-accent);
}

.menu .row > ul > li:last-child a {
  margin-right: 0;
}

.menu .logo img {
  height: 100px;
}

.menu .phone a {
  color: var(--text-accent);
  text-decoration: none;
}

.menu .phone a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

/* Шапка */
.header {
  min-height: 800px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  background-size: cover;
}

.header-inner {
  background-color: #d6d6d6;
  padding: 25px;
  border: solid 5px #298360;
  border-radius: 10% / 50%;
  margin-top: 25px;
}

.header-inner h2,
.popular-title h2 {
  color: var(--text-dark);
  text-transform: uppercase;
  justify-content: center;
  display: flex;
  align-items: center;
}

.header-inner h2:before,
.header-inner h2:after,
.popular-title h2:before,
.popular-title h2:after {
  display: block;
  content: "";
  width: 100px;
  height: 5px;
  background-color: var(--text-accent);
  margin: 20px;
}

.obuv {
  display: flex;
  justify-content: space-evenly;
}

.shoe {
  text-align: center;
}

.shoe a,
.btn {
  cursor: pointer;
  display: block;
  margin: 20px 0;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-accent);
  border: 2px solid var(--text-accent);
  padding: 10px;
  transition: 0.2s;
}

.btn {
  background-color: transparent;
  display: inline-block;
  text-align: center;
  font-weight: bold;
}

.header .btn {
  display: block;
  max-width: 250px;
  margin: 15px auto 5px;
}

.shoe a:hover,
.btn:hover,
.btn:focus {
  color: var(--text-light);
  background-color: var(--text-accent);
}

.shoe .name {
  text-transform: uppercase;
  color: var(--text-light);
  background-color: var(--text-small);
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Наши преимущества*/
.advantages {
  background-size: cover;
  height: 350px;
  font-size: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-light);
}

.advantages-cards {
  background-size: cover;
}

.advantages-cards-inner {
  align-items: stretch;
  padding: 50px 0;
}

.advantages-cards-inner img {
  width: 100px;
  height: auto;
}

.advantages-card {
  text-align: center;
  padding: 25px;
  margin-bottom: 30px;
}

.advantages h2 {
  text-transform: uppercase;
}

.advantages-cards h3 {
  text-transform: uppercase;
  color: var(--text-accent);
  font-size: 20px;
}

.advantages-cards p {
  line-height: 22px;
}

/* О нас */
.about {
  display: flex;
  align-items: center;
  background-size: cover;
  min-height: 350px;
  color: var(--text-light);
}

.about-inner h2 {
  line-height: 30px;
  text-transform: uppercase;
}

.about-inner h2 span {
  color: var(--text-accent);
}

.about-inner p {
  line-height: 24px;
}

.text-center {
  text-align: center;
}

/* Популярные товары */
.popular {
  background-size: cover;
  padding-bottom: 50px;
}

.popular-title {
  justify-content: center;
  padding: 30px 0;
}

.product img {
  width: auto;
  height: auto;
}

.product h3 {
  font-size: 18px;
  text-transform: uppercase;
}

.product {
  padding: 20px;
  margin: 30px;
  text-align: center;
}

/* Форма обратной связи */
.contacts {
  background-size: cover;
  padding: 50px 0;
  color: var(--text-light);
}

.contacts input:not([type="submit"]) {
  border: none;
  width: 100%;
  height: 40px;
  padding: 10px;
  margin-bottom: 15px;
}

.contacts button.btn,
.contacts input[type="submit"].btn {
  border-color: var(--text-light);
  color: var(--text-light);
  display: block;
  margin: 0 auto;
}

.contacts button.btn:hover,
.contacts input[type="submit"].btn:hover {
  border-color: var(--text-accent);
}

.contacts-item {
  padding: 30px;
}

.contacts-item:first-child h3 {
  font-weight: bold;
}

.contacts-item:first-child p {
  font-size: 12px;
  line-height: 18px;
}

.contacts-item h3 {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: normal;
}

.contacts-item p {
  line-height: 24px;
}

/* Футер */
.footer {
  text-transform: uppercase;
  padding: 30px 0;
}

.accent-color {
  color: var(--text-accent);
}

.footer a {
  color: var(--text-dark);
  text-decoration: none;
  transition: 0.2s;
}

.footer a:hover {
  color: var(--text-accent);
  border-bottom: 1px solid var(--text-accent);
}

/* О компании */
.about-company {
  background-size: cover;
  padding: 80px 0;
}

.about-company img {
  float: left;
  width: 100%;
  max-width: 450px;
  margin-right: 15px;
  margin-bottom: 15px;
}

.about-company h2 {
  text-transform: uppercase;
  font-size: 26px;
}

.about-company p {
  line-height: 26px;
}

.pasport {
  text-align: center;
  color: var(--text-light);
  background-size: cover;
  padding: 80px 0;
}

.pasport .btn {
  border-color: var(--text-light);
  color: var(--text-light);
}

.pasport .btn:hover {
  border-color: var(--text-accent);
}

.pasport h2 {
  text-transform: uppercase;
}

/* Каталог */
.catalog {
  justify-content: flex-start;
  align-items: flex-start;
}

/* Отдельная дверь */
.shoe-template {
  padding: 80px 0;
  background-color: #eee;
}

.shoe-template .row {
  align-items: flex-start;
}

.shoe-gallery {
  display: flex;
  flex-wrap: wrap;
}

.shoe-gallery a {
  padding: 10px;
  display: block;
  width: 40%;
}

.shoe-gallery a:first-child {
  width: 80%;
}

.shoe-gallery img {
  width: 100%;
}

.shoe-description h2 {
  font-size: 30px;
  color: var(--text-accent);
  text-transform: uppercase;
}

.shoe-description h2 span {
  color: var(--text-dark);
  text-transform: lowercase;
  font-size: 14px;
  vertical-align: top;
}

.shoe-description P {
  font-size: 18px;
  line-height: 26px;
}

.shoe-description h3 {
  font-size: 26px;
  color: var(--text-accent);
  text-transform: uppercase;
}

.shoe-description .btn {
  margin: 0 0 15px;
}

.shoe-description table {
  margin-bottom: 50px;
  width: 100%;
  border-collapse: collapse;
}

.shoe-description table td {
  padding: 10px;
}

.shoe-description table tr {
  border-bottom: 2px solid var(--text-dark);
}

.shoe-description table td:first-child {
  width: 30%;
  color: var(--text-accent);
  font-weight: bold;
}

.shoe-description table caption {
  text-align: left;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 26px;
  color: var(--text-accent);
  text-transform: uppercase;
  font-weight: bold;
}

.shoe-description form input:not([type="submit"]),
.shoe-description form textarea {
  display: block;
  border: 1px solid var(--text-small);
  width: 320px;
  height: 40px;
  padding: 10px;
}

.shoe-description form textarea {
  resize: vertical;
  height: 100px;
  min-height: 100px;
  max-height: 300px;
}

.modal-title {
  color: var(--text-accent);
  text-transform: uppercase;
  font-size: 26px;
  margin: 30px 0;
}

/* На заказ */
.to-order {
  background-color: #eee;
  padding: 80px 0;
}

.to-order-card h2 {
  text-align: center;
  text-transform: uppercase;
}

.to-order-card-inner {
  display: flex;
  align-items: center;
}

.to-order-card-inner img {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin-right: 30px;
}

.to-order-text p {
  line-height: 26px;
}

.to-order-text p:last-child {
  color: var(--text-accent);
}

.to-order-form {
  text-align: center;
}

.to-order-form h3 {
  margin: 50px 0 20px;
  color: var(--text-accent);
  text-transform: uppercase;
}

.to-order-form input:not([type="submit"]) {
  display: block;
  border: none;
  width: 320px;
  height: 40px;
  padding: 10px;
  margin: 0 auto 15px;
}

.to-order-form input.btn[type="submit"] {
  display: block;
  margin: 0 auto;
}

/* Наши работы */
.portfolio {
  background-size: cover;
  padding: 80px 0;
}

.portfolio .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.portfolio .gallery a {
  border: 5px solid var(--text-light);
  display: block;
  margin-bottom: 30px;
  transition: 0.3s;
}

.portfolio .gallery a img {
  height: 400px;
}

/* Пагинация */
.navigation.pagination {
  text-align: center;
}

.page-numbers {
  cursor: pointer;
  padding: 15px;
  font-size: 16px;
  border: none;
  background-color: var(--text-accent);
  color: var(--text-light);
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  opacity: 0.8;
}

.page-numbers.prev,
.page-numbers.next,
.page-numbers.dots {
}

/* Контакты */
.our-contacts {
  background-color: #eee;
  padding: 80px 0;
}

.our-contacts .row {
  align-items: flex-start;
}

.contacts-block {
  padding-right: 30px;
}

.contacts-inner {
  display: flex;
}

.contacts-block h2 {
  text-transform: uppercase;
}

.contacts-card {
  border: 4px solid var(--text-accent);
  width: 33%;
  text-align: center;
  padding: 20px;
  margin-right: 20px;
  margin-bottom: 30px;
}

.contacts-card:last-child {
  margin-right: 0;
}

.contacts-card h3 {
  text-transform: uppercase;
  color: var(--text-accent);
}

/* Поиск */
#cities h2 {
  text-transform: uppercase;
}

.search {
  border: none;
  width: 100%;
  height: 40px;
  padding: 10px;
  margin-bottom: 15px;
}

.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  border-bottom: 2px solid var(--text-accent);
  line-height: 26px;
}

/* Политика конфиденциальности */
.policy {
  background-size: cover;
  padding: 80px 0;
  line-height: 26px;
}

.policy h2 {
  text-transform: uppercase;
}

/* Адаптивная версия */
/* lg */
@media screen and (max-width: 1025px) {
  .container {
    max-width: 568px;
  }

  .col-lg-4 {
    width: 33.33%;
  }

  .col-lg-6 {
    width: 50%;
  }

  .col-lg-12 {
    width: 100%;
  }

  .header,
  .advantages-cards,
  .contacts {
    background-size: cover;
    background-position: center;
  }

  .about-company img {
    float: none;
  }

  .to-order-card-inner {
    flex-direction: column;
  }

  .portfolio .gallery a {
    border: 5px solid transparent;
    width: 45%;
  }

  .portfolio .gallery a img {
    width: 100%;
  }

  .contacts-card {
    margin-right: 10px;
    padding: 10px;
  }

  .contacts-card img {
    width: 80px;
  }

  .contacts-block {
    padding-right: 0;
  }

  .menu .row > ul {
    flex-direction: column;
  }
  .menu li {
    margin: 10px;
  }
  .shoe-description {
    order: -1;
  }
}

/* md */
@media screen and (max-width: 825px) {
  .container {
    max-width: 540px;
  }
  .contacts-card h3 {
    font-size: 14px;
  }
  .header-inner h2:before,
  .header-inner h2:after,
  .popular-title h2:before,
  .popular-title h2:after {
    width: 40px;
  }

  .shoe .name {
    width: 120px;
    height: 120px;
    font-weight: bold;
    font-size: 12px;
  }
}

/* sm */
@media screen and (max-width: 416px) {
  .container {
    max-width: 280px;
  }
  .contacts-card h3 {
    font-size: 18px;
  }
  .col-sm-12 {
    width: 100%;
  }

  .menu .row {
    justify-content: center;
  }

  .portfolio .gallery a {
    width: 100%;
    text-align: center;
  }

  .portfolio .gallery a img {
    width: auto;
    height: 250px;
  }

  .pagination button {
    padding: 8px;
  }

  .contacts-inner {
    flex-wrap: wrap;
  }

  .contacts-card {
    width: 100%;
  }

  .policy h2 {
    font-size: 16px;
  }

  .to-order-form input:not([type="submit"]),
  .shoe-description form input:not([type="submit"]),
  .shoe-description form textarea {
    width: 100%;
  }

  .to-order-card-inner img {
    margin-right: 0;
  }

  .btn {
    margin: 5px 0;
  }

  .shoe-gallery {
    justify-content: center;
  }

  .about {
    padding-bottom: 20px;
  }

  .advantages {
    height: 150px;
  }

  .about-inner h2,
  .advantages h2 {
    font-size: 16px;
  }

  .header-inner h2,
  .popular-title h2 {
    text-align: center;
    font-size: 16px;
  }

  .obuv {
    flex-wrap: wrap;
  }

  .header {
    padding-bottom: 20px;
  }
}

/* Wordpress */
.menu-item {
  display: inline !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 404 */
.page404 {
  background-color: #eee;
  padding: 150px 0;
  text-align: center;
}

.page404 .error_code {
  font-size: 150px;
  margin: 15px 0;
}

.page404 .warning_text {
  font-size: 36px;
  color: var(--text-small);
}

.page404 .description_text {
  font-size: 22px;
  line-height: 36px;
}

/* Полезная информация */
.information_page {
  padding: 80px 0;
  background-color: #eee;
}

.information_title h2 {
  text-align: center;
  text-transform: uppercase;
}

.information_grid {
  justify-content: flex-start;
  align-items: flex-start;
}

.information_grid .col-3 {
  text-align: center;
  padding: 10px;
}

.information_grid img {
  max-height: 250px;
  width: auto;
  max-width: 100%;
}

.information_grid h3 {
  font-size: 18px;
  text-transform: uppercase;
}
